package com.frp.protocol;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 新建工作连接消息
 */
public class NewWorkConnMessage extends Message {
    @JsonProperty("proxy_name")
    private String proxyName;
    
    @JsonProperty("run_id")
    private String runId;
    
    public NewWorkConnMessage() {
        super(MessageType.NewWorkConn);
    }
    
    public NewWorkConnMessage(String proxyName, String runId) {
        super(MessageType.NewWorkConn);
        this.proxyName = proxyName;
        this.runId = runId;
    }
    
    public String getProxyName() { return proxyName; }
    public void setProxyName(String proxyName) { this.proxyName = proxyName; }
    
    public String getRunId() { return runId; }
    public void setRunId(String runId) { this.runId = runId; }
}